import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View,
  DatePickerIOS
} from 'react-native';

export default class datePickerIOS extends Component {
  constructor(props) {
    super(props);
    this.state={
      date: new Date(),
      timeZoneOffsetInHours: (-1) * (new Date()).getTimezoneOffset() / 60,
    }
  }
  render(){
    return(
      <DatePickerIOS
        date={this.state.date}
        mode="date"
      />
    )
  }
}

const styles = StyleSheet.create({

});

module.exports = datePickerIOS;